import jwt, { JwtPayload } from 'jsonwebtoken';
export default class BaseController {
  static verifyToken() {
    const token = 'fdfd';
    // 密匙一定要一样
    const result = jwt.verify(token,'9abd3cd33dff') as JwtPayload;
    return result.data;// 是我吗保存的那个值
  }
}

export const { verifyToken } = BaseController;
